<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>04-盒子模型-组成</title>
    <style>
        /* h1 {
            line-height: 0px;
            background-color: skyblue;
        } */
        div {
            width: 200px;
            height: 200px;
            background-color: skyblue;
            margin: 20px;
            border: 5px solid #000;
            padding: 10px;
        }
        /* .box1 {
            padding: 50px;
            
            margin-bottom: 20px;
            border: 2px solid #000;

            background-color: green;
        } */
        .box2 {
            background-color: orange;
        }
    </style>
</head>
<body>
    <h1>盒子模型-组成</h1>

    <div >盒子模型</div>
    <div class="box2">盒子模型</div>
    
</body>
</html>